Ok.. Now on to wiring the rest of the IO. I want to save my Opto Inputs for later. So I figured for the pendant I/O I would use the standard I/O on the JP12 connector. Spacificly SDIN0-7. .. I was going to wire my power from the 3.3V from JP8 to my I/O switches on the pendant back to input on the SDIO pins broken out of the JP12 connector.
It apears the SDIN's need/want a pull down resistor to ground to insure they stay off rather then left floating.
Figure using a 10K to ground for that. Just wanted to verify that would be ok while using the 3.3v from JP8.
b.
--- In
DynoMotion@yahoogroups.com, Wcarrothers <wcarrothers@...> wrote:
>
> Wow.. Wiring the encoder to GP5 worked like a charm. The response to the dials os also spot on!!!! No lag like I
used to get with the smooth stepper. Just perfect.. Have some more wiring to do now though..
>
> B.
>
>
>
> On Sep 10, 2011, at 2:48 PM, Tom Kerekes <tk@...> wrote:
>
> > Hi Bill,
> >
> > No you can't use the Parallel Port as there is no Mach3 Parallel Port Kernel Driver when using KFLOP. You can wire the encoders directly up to KFLOP and use them as an MPG. That has the advantage of quick real-time response a KFLOP handles the motion directly without involving the PC, Windows, USB, etc...
> >
> > Regards
> > TK
> >
> > --- On Sat, 9/10/11, william Carrothers <wcarrothers@...> wrote:
> >
> > From: william Carrothers <wcarrothers@...>
> > Subject: Re: [DynoMotion] Optical Encoder connecting
> > To:
DynoMotion@yahoogroups.com> > Date: Saturday, September 10, 2011, 11:21 AM
> >
> >
> > Cuirous if Mach is still able to use the Parallel port for I/O. That way I could use my pendant I built for my other machine (which has similar encoders) to this one that way.
> >
> > Just got these encoders from some equipment I took appart and hoped I could toss them in.
> >
> > b
> >
> >
> > --- On Sat, 9/10/11, TK <tk@...> wrote:
> >
> > From: TK <tk@...>
> > Subject: Re: [DynoMotion] Optical Encoder connecting
> > To: "
DynoMotion@yahoogroups.com" <
DynoMotion@yahoogroups.com>
> > Date: Saturday, September 10, 2011, 1:16 PM
> >
> >
> > It won't work connecting single ended signals to differential inputs. You can't just leave the other input unconnected. The way differential inputs work is the polarity between the two inputs has to switch back and forth. A resistor won't do this. There is already an internal 470 ohm resistor between the + and - inputs on Kanalog.
> >
> > You can bypass Kanalog's differential receivers and connect directly to KFLOP's single ended inputs by unplugging JP5 from Kanalog.
> >
> > Another option is to buy encoder cables that have a single ended to differential converter module in them.
> >
> > TK
> >
>
> On Sep 10, 2011, at 9:34 AM, "wcarrothers" <wcarrothers@...> wrote:
> >
> >>
> >> I'm wiring in some optical encoders to my Kflop/Kanalog board. Figured I would attach to input A5+ and B5+ on JP2
> >>
> >>
http://www.potentiometers.com/pdf/600.pdf> >>
> >> That is a link to the data sheet for the encoder.
> >>
> >> So basicly connecting the unit to 5v power and the Yellow to channel A5+ and green to channel B5+
> >>
> >> From that on the bits 38 and 39 toggel when I rotate the encoder on the I/O screen
> >>
> >> Seems to be all ok. Altered the C code so the IO bits are correct, trigger the bits to activate the encoder and can get some movement but most times it would continue counting and fault out
(yellow digits in KmotionCNC) for that axis..
> >>
> >> Wondering if perhaps I need to add a resistor between A5+ and A5- and B5+ and B5- to properly connect the encoder or something else.
> >>
> >> Perhaps just doing this wrong seeing they are not differential (have only A and B output rather then A+A-andB+B-
> >>
> >> b.
> >>
> >> b.
> >>
> >
> >
>